package com.ruoyi.domain.DTO;

import com.ruoyi.domain.Course;
import com.ruoyi.domain.CourseVideo;

import java.util.List;

public class CourseDetailDTO {
    private Course course;
    private List<CourseVideo> videos; // 关联视频列表
    
    // 无参构造器 + getter/setter
    public CourseDetailDTO() {}
    
    public Course getCourse() { return course; }
    public void setCourse(Course course) { this.course = course; }
    
    public List<CourseVideo> getVideos() { return videos; }
    public void setVideos(List<CourseVideo> videos) { this.videos = videos; }
}
